import request from '@/utils/request'

// 查询详细票库列表
export function listContainLottery(query) {
  return request({
    url: '/system/containLottery/list',
    method: 'get',
    params: query
  })
}

// 查询详细票库详细
export function getContainLottery(id) {
  return request({
    url: '/system/containLottery/' + id,
    method: 'get'
  })
}

// 新增详细票库
export function addContainLottery(data) {
  return request({
    url: '/system/containLottery',
    method: 'post',
    data: data
  })
}

// 修改详细票库
export function updateContainLottery(data) {
  return request({
    url: '/system/containLottery',
    method: 'put',
    data: data
  })
}

// 删除详细票库
export function delContainLottery(id) {
  return request({
    url: '/system/containLottery/' + id,
    method: 'delete'
  })
}
